ListServicesResponse.fromJson constructor

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

Implementation

factory ListServicesResponse.fromJson(Map<String, dynamic> json) {
  return ListServicesResponse(
    nextToken: json['nextToken'] as String?,
    serviceArns: (json['serviceArns'] as List?)
        ?.whereNotNull()
        .map((e) => e as String)
        .toList(),
  );
}