Version.fromJson constructor

Version.fromJson(
  1. Map json_
)

Implementation

Version.fromJson(core.Map json_)
    : this(
        createTime: json_.containsKey('createTime')
            ? json_['createTime'] as core.String
            : null,
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        scriptId: json_.containsKey('scriptId')
            ? json_['scriptId'] as core.String
            : null,
        versionNumber: json_.containsKey('versionNumber')
            ? json_['versionNumber'] as core.int
            : null,
      );