RevokeRequest.fromJson constructor

RevokeRequest.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory RevokeRequest.fromJson(Map<String, Object?> json) => RevokeRequest(
      revokedBy: json["revoked_by"] == null
          ? null
          : inttegro_file.ActorInput.fromJson(
              (json["revoked_by"] as Map).cast<String, Object?>(),
            ),
      id: json["id"] as String,
    );