toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final lexRegion = this.lexRegion;
  final name = this.name;
  return {
    if (lexRegion != null) 'LexRegion': lexRegion,
    if (name != null) 'Name': name,
  };
}