GetBranchOutput.fromJson constructor

GetBranchOutput.fromJson(
  1. Map<String, dynamic> json
)

Implementation

factory GetBranchOutput.fromJson(Map<String, dynamic> json) {
  return GetBranchOutput(
    branch: json['branch'] != null
        ? BranchInfo.fromJson(json['branch'] as Map<String, dynamic>)
        : null,
  );
}