ObjectOwner.fromJson constructor
ObjectOwner.fromJson(
- dynamic data
Implementation
factory ObjectOwner.fromJson(dynamic data) {
if (data is String && data == 'Immutable') {
return ObjectOwner(null, null, null, true);
}
return ObjectOwner(
data['AddressOwner'],
data['ObjectOwner'],
data['Shared'] != null ? Shared.fromJson(data['Shared']) : null,
false
);
}