toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() {
  return {
    'currentTemplatedId': currentTemplatedId,
    'tokenStr': tokenStr,
    'iosSchemeCode': iosSchemeCode,
    'androidSchemeCode': androidSchemeCode,
    'enableLog': enableLog ?? false,
    'authUIConfig': authUIConfig?.toJson(),
  }..removeWhere((key, value) => value == null);
}