Package.fromJson constructor

Package.fromJson(
  1. Map json_
)

Implementation

Package.fromJson(core.Map json_)
  : this(
      annotations: (json_['annotations']
              as core.Map<core.String, core.dynamic>?)
          ?.map((key, value) => core.MapEntry(key, value as core.String)),
      createTime: json_['createTime'] as core.String?,
      displayName: json_['displayName'] as core.String?,
      name: json_['name'] as core.String?,
      updateTime: json_['updateTime'] as core.String?,
    );