ImageUri.fromJson constructor

ImageUri.fromJson(
  1. Map json_
)

Implementation

ImageUri.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        localizedDescription: json_.containsKey('localizedDescription')
            ? LocalizedString.fromJson(json_['localizedDescription']
                as core.Map<core.String, core.dynamic>)
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );