SkaffoldVersion.fromJson constructor

SkaffoldVersion.fromJson(
  1. Map json_
)

Implementation

SkaffoldVersion.fromJson(core.Map json_)
    : this(
        maintenanceModeTime: json_.containsKey('maintenanceModeTime')
            ? json_['maintenanceModeTime'] as core.String
            : null,
        supportEndDate: json_.containsKey('supportEndDate')
            ? Date.fromJson(json_['supportEndDate']
                as core.Map<core.String, core.dynamic>)
            : null,
        supportExpirationTime: json_.containsKey('supportExpirationTime')
            ? json_['supportExpirationTime'] as core.String
            : null,
        version: json_.containsKey('version')
            ? json_['version'] as core.String
            : null,
      );