Image.fromJson constructor

Image.fromJson(
  1. Map json_
)

Implementation

Image.fromJson(core.Map json_)
    : this(
        altText: json_['altText'] as core.String?,
        contentUri: json_['contentUri'] as core.String?,
        properties: json_.containsKey('properties')
            ? MediaProperties.fromJson(
                json_['properties'] as core.Map<core.String, core.dynamic>)
            : null,
        sourceUri: json_['sourceUri'] as core.String?,
      );