Witness.fromJson constructor

Witness.fromJson(
  1. Map<String, dynamic> data
)

Implementation

factory Witness.fromJson(Map<String, dynamic> data) {
  return Witness(dataLength: data['dataLength'], data: data['data']);
}