SpacePropertyUpdateRequest.fromJson constructor

SpacePropertyUpdateRequest.fromJson(
  1. Map<String, Object?> json
)

Implementation

factory SpacePropertyUpdateRequest.fromJson(Map<String, Object?> json) {
  return SpacePropertyUpdateRequest(
    key: json[r'key'] as String?,
    value: json[r'value'],
    version: json[r'version'] != null
        ? SpacePropertyUpdateRequestVersion.fromJson(
            json[r'version']! as Map<String, Object?>)
        : null,
  );
}