fromJson static method

SettingsSectionDataAndStorage? fromJson(
  1. Map<String, dynamic>? json
)
override

Implementation

static SettingsSectionDataAndStorage? fromJson(Map<String, dynamic>? json) {
  if (json == null) {
    return null;
  }

  return SettingsSectionDataAndStorage(
    subsection: (json['subsection'] as String?) ?? '',
  );
}