GrantAccessResult.fromJson constructor

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

Implementation

factory GrantAccessResult.fromJson(Map<String, dynamic> json) {
  return GrantAccessResult(
    temporaryCredential: json['TemporaryCredential'] != null
        ? TemporaryCredential.fromJson(
            json['TemporaryCredential'] as Map<String, dynamic>)
        : null,
  );
}