getJson method

Map<String, dynamic> getJson()

Implementation

Map<String, dynamic> getJson() => {
      'type': type,
      'stat': stat,
      'value': value!.getJson(),
    };