ServiceId.fromJson constructor
Implementation
factory ServiceId.fromJson(Map<String, dynamic> json) {
return ServiceId(
accountId: json['AccountId'] as String?,
name: json['Name'] as String?,
names: (json['Names'] as List?)
?.whereNotNull()
.map((e) => e as String)
.toList(),
type: json['Type'] as String?,
);
}