toMap method

Map<String, Object?> toMap()

Implementation

Map<String, Object?> toMap() => <String, Object?>{
      'id': id,
      'name': name,
      'description': description,
    };