CopyLogEntriesRequest.fromJson constructor
CopyLogEntriesRequest.fromJson(
- Object? j
Implementation
factory CopyLogEntriesRequest.fromJson(Object? j) {
final json = j as Map<String, Object?>;
return CopyLogEntriesRequest(
name: switch (json['name']) {
null => '',
Object $1 => decodeString($1),
},
filter: switch (json['filter']) {
null => '',
Object $1 => decodeString($1),
},
destination: switch (json['destination']) {
null => '',
Object $1 => decodeString($1),
},
);
}