PageBackgroundFill.fromJson constructor

PageBackgroundFill.fromJson(
  1. Map json_
)

Implementation

PageBackgroundFill.fromJson(core.Map json_)
  : this(
      propertyState: json_['propertyState'] as core.String?,
      solidFill:
          json_.containsKey('solidFill')
              ? SolidFill.fromJson(
                json_['solidFill'] as core.Map<core.String, core.dynamic>,
              )
              : null,
      stretchedPictureFill:
          json_.containsKey('stretchedPictureFill')
              ? StretchedPictureFill.fromJson(
                json_['stretchedPictureFill']
                    as core.Map<core.String, core.dynamic>,
              )
              : null,
    );