Link.fromJson constructor
Implementation
factory Link.fromJson(Map<String, dynamic> json) {
return Link(
name: json['name'] ?? '',
description: json['description'] ?? '',
createTime: decodeCustom(json['createTime'], Timestamp.fromJson),
lifecycleState:
decodeEnum(json['lifecycleState'], LifecycleState.fromJson) ??
LifecycleState.$default,
bigqueryDataset: decode(
json['bigqueryDataset'],
BigQueryDataset.fromJson,
),
);
}