PhotoResponse.fromJson constructor

PhotoResponse.fromJson(
  1. Map json_
)

Implementation

PhotoResponse.fromJson(core.Map json_)
    : this(
        photo: json_.containsKey('photo')
            ? Photo.fromJson(
                json_['photo'] as core.Map<core.String, core.dynamic>)
            : null,
        status: json_.containsKey('status')
            ? Status.fromJson(
                json_['status'] as core.Map<core.String, core.dynamic>)
            : null,
      );