toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() {
  return {
    'cast': this.cast.map((e) => e.toMap()).toList(),
    'crew': this.crew.map((e) => e.toMap()).toList(),
  };
}