toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "tenure": tenure == null ? null : tenure,
      "interest": interest == null ? null : interest,
    };