toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  final branches = this.branches;
  return {
    if (branches != null) 'Branches': branches,
  };
}