ThumbnailDetails.fromJson constructor

ThumbnailDetails.fromJson(
  1. Map json_
)

Implementation

ThumbnailDetails.fromJson(core.Map json_)
    : this(
        default_: json_.containsKey('default')
            ? Thumbnail.fromJson(
                json_['default'] as core.Map<core.String, core.dynamic>)
            : null,
        high: json_.containsKey('high')
            ? Thumbnail.fromJson(
                json_['high'] as core.Map<core.String, core.dynamic>)
            : null,
        maxres: json_.containsKey('maxres')
            ? Thumbnail.fromJson(
                json_['maxres'] as core.Map<core.String, core.dynamic>)
            : null,
        medium: json_.containsKey('medium')
            ? Thumbnail.fromJson(
                json_['medium'] as core.Map<core.String, core.dynamic>)
            : null,
        standard: json_.containsKey('standard')
            ? Thumbnail.fromJson(
                json_['standard'] as core.Map<core.String, core.dynamic>)
            : null,
      );