Map<String, dynamic> toMap() => <String, dynamic>{ 'credit_id': creditId, 'character': character, 'episode_count': episodeCount, };