toJson method

Map<String, dynamic> toJson()
inherited

Implementation

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