toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final _data = <String, dynamic>{};
  _data['epoch'] = epoch;
  _data['validators'] = validators;
  return _data;
}