toJson method

Map<String, dynamic> toJson()
inherited

Implementation

Map<String, dynamic> toJson() {
  return {
    'type': type,
  };
}