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