fromMap static method

dynamic fromMap(
  1. Map map
)

Implementation

static fromMap(Map map) {
  return PermissionRationale(
      title: (map['title'] != null) ? map['title'] : null,
      message: (map['message'] != null) ? map['message'] : null,
      positiveAction:
          (map['positiveAction'] != null) ? map['positiveAction'] : null,
      negativeAction:
          (map['negativeAction'] != null) ? map['negativeAction'] : null);
}