toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final l6Metadata = this.l6Metadata;
  final l6Mode = this.l6Mode;
  final profile = this.profile;
  return {
    if (l6Metadata != null) 'l6Metadata': l6Metadata,
    if (l6Mode != null) 'l6Mode': l6Mode.toValue(),
    if (profile != null) 'profile': profile.toValue(),
  };
}