toJson method

  1. @override
Map<String, Object?> toJson()

Implementation

@override
Map<String, Object?> toJson() => {
      if (ghanaBankAccount != null)
        "ghana_bank_account": encodeValue(ghanaBankAccount),
      "type": encodeValue(type),
    };