GalleryReference.fromJson constructor

GalleryReference.fromJson(
  1. Map json_
)

Implementation

GalleryReference.fromJson(core.Map json_)
    : this(
        host: json_.containsKey('host') ? json_['host'] as core.String : null,
        isModified: json_.containsKey('isModified')
            ? json_['isModified'] as core.bool
            : null,
        owner:
            json_.containsKey('owner') ? json_['owner'] as core.String : null,
        repository: json_.containsKey('repository')
            ? json_['repository'] as core.String
            : null,
        signature: json_.containsKey('signature')
            ? json_['signature'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );