ListSigningPlatformsResponse.fromJson constructor

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

Implementation

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