copyWith method
Implementation
AppConfigData copyWith(
{int? id,
DateTime? updatedAt,
String? lenderId,
String? apiEndpoint,
String? apiKey,
String? apiSecret,
String? appBundle,
bool? shouldSyncData,
Value<DateTime?> lastSync = const Value.absent()}) =>
AppConfigData(
id: id ?? this.id,
updatedAt: updatedAt ?? this.updatedAt,
lenderId: lenderId ?? this.lenderId,
apiEndpoint: apiEndpoint ?? this.apiEndpoint,
apiKey: apiKey ?? this.apiKey,
apiSecret: apiSecret ?? this.apiSecret,
appBundle: appBundle ?? this.appBundle,
shouldSyncData: shouldSyncData ?? this.shouldSyncData,
lastSync: lastSync.present ? lastSync.value : this.lastSync,
);