BatchStatusFaucetResponse.fromJson constructor

BatchStatusFaucetResponse.fromJson(
  1. dynamic data
)

Implementation

factory BatchStatusFaucetResponse.fromJson(dynamic data) {
  return BatchStatusFaucetResponse(
    BatchSendStatusType.fromJson(data['status']),
    data['error']
  );
}