AcceptGrantResponse.fromJson constructor

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

Implementation

factory AcceptGrantResponse.fromJson(Map<String, dynamic> json) {
  return AcceptGrantResponse(
    grantArn: json['GrantArn'] as String?,
    status: (json['Status'] as String?)?.toGrantStatus(),
    version: json['Version'] as String?,
  );
}