InsertInlineImageRequest.fromJson constructor

InsertInlineImageRequest.fromJson(
  1. Map json_
)

Implementation

InsertInlineImageRequest.fromJson(core.Map json_)
    : this(
        endOfSegmentLocation: json_.containsKey('endOfSegmentLocation')
            ? EndOfSegmentLocation.fromJson(json_['endOfSegmentLocation']
                as core.Map<core.String, core.dynamic>)
            : null,
        location: json_.containsKey('location')
            ? Location.fromJson(
                json_['location'] as core.Map<core.String, core.dynamic>)
            : null,
        objectSize: json_.containsKey('objectSize')
            ? Size.fromJson(
                json_['objectSize'] as core.Map<core.String, core.dynamic>)
            : null,
        uri: json_.containsKey('uri') ? json_['uri'] as core.String : null,
      );