GetOpsMetadataResult.fromJson constructor

GetOpsMetadataResult.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetOpsMetadataResult.fromJson(Map<String, dynamic> json) {
  return GetOpsMetadataResult(
    metadata: (json['Metadata'] as Map<String, dynamic>?)?.map((k, e) =>
        MapEntry(k, MetadataValue.fromJson(e as Map<String, dynamic>))),
    nextToken: json['NextToken'] as String?,
    resourceId: json['ResourceId'] as String?,
  );
}