toJson method

Map toJson()

Implementation

Map toJson() => {
  'name' : name,
  'type' : type,
};