PresignedRequestSet.fromJson constructor

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

Read this payload from a decoded JSON object.

Implementation

factory PresignedRequestSet.fromJson(Map<String, dynamic> json) =>
    PresignedRequestSet(
      kind: json['kind'] as String,
      requests: (json['requests'] as List<dynamic>)
          .map((e) => PresignedRequestSetRequestsItem.fromJson(
              e as Map<String, dynamic>))
          .toList(),
      expiresAt: json['expiresAt'] as String,
    );