DestinationTableProperties.fromJson constructor

DestinationTableProperties.fromJson(
  1. Map json_
)

Implementation

DestinationTableProperties.fromJson(core.Map json_)
    : this(
        description: json_.containsKey('description')
            ? json_['description'] as core.String
            : null,
        expirationTime: json_.containsKey('expirationTime')
            ? core.DateTime.parse(json_['expirationTime'] as core.String)
            : null,
        friendlyName: json_.containsKey('friendlyName')
            ? json_['friendlyName'] as core.String
            : null,
        labels: json_.containsKey('labels')
            ? (json_['labels'] as core.Map<core.String, core.dynamic>).map(
                (key, value) => core.MapEntry(
                  key,
                  value as core.String,
                ),
              )
            : null,
      );