InstanceSummary.fromJson constructor

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

Implementation

factory InstanceSummary.fromJson(Map<String, dynamic> json) {
  return InstanceSummary(
    attributes: (json['Attributes'] as Map<String, dynamic>?)
        ?.map((k, e) => MapEntry(k, e as String)),
    id: json['Id'] as String?,
  );
}