toMap method

Map<String, dynamic> toMap()

Implementation

Map<String, dynamic> toMap() => {
      "isSuccess": isSuccess,
      "errorMessage": errorMessage,
      "imagePath": imagePath,
      "ktp": ktp?.toMap(),
    };