PageProperties.fromJson constructor

PageProperties.fromJson(
  1. Map json_
)

Implementation

PageProperties.fromJson(core.Map json_)
    : this(
        colorScheme: json_.containsKey('colorScheme')
            ? ColorScheme.fromJson(
                json_['colorScheme'] as core.Map<core.String, core.dynamic>)
            : null,
        pageBackgroundFill: json_.containsKey('pageBackgroundFill')
            ? PageBackgroundFill.fromJson(json_['pageBackgroundFill']
                as core.Map<core.String, core.dynamic>)
            : null,
      );