toJson method

Map<String, int> toJson()

Implementation

Map<String, int> toJson() => {
      'ty': type,
    };