Photo.fromJson constructor

Photo.fromJson(
  1. Map json_
)

Implementation

Photo.fromJson(core.Map json_)
    : this(
        default_: json_.containsKey('default')
            ? json_['default'] as core.bool
            : null,
        metadata: json_.containsKey('metadata')
            ? FieldMetadata.fromJson(
                json_['metadata'] as core.Map<core.String, core.dynamic>)
            : null,
        url: json_.containsKey('url') ? json_['url'] as core.String : null,
      );