ContextSummary.fromJson constructor
ContextSummary.fromJson(
- Map<String, dynamic> json
)
Implementation
factory ContextSummary.fromJson(Map<String, dynamic> json) {
return ContextSummary(
contextArn: json['ContextArn'] as String?,
contextName: json['ContextName'] as String?,
contextType: json['ContextType'] as String?,
creationTime: timeStampFromJson(json['CreationTime']),
lastModifiedTime: timeStampFromJson(json['LastModifiedTime']),
source: json['Source'] != null
? ContextSource.fromJson(json['Source'] as Map<String, dynamic>)
: null,
);
}