BatchFaucetResponse.fromJson constructor

BatchFaucetResponse.fromJson(
  1. dynamic data
)

Implementation

factory BatchFaucetResponse.fromJson(dynamic data) {
  return BatchFaucetResponse(
    data['task'],
    data['error']
  );
}