Image.fromJson constructor

Image.fromJson(
  1. Map json_
)

Implementation

Image.fromJson(core.Map json_)
    : this(
        content: json_.containsKey('content')
            ? json_['content'] as core.String
            : null,
        source: json_.containsKey('source')
            ? ImageSource.fromJson(
                json_['source'] as core.Map<core.String, core.dynamic>)
            : null,
      );