SquarePosPluginResponse.fromMap constructor

SquarePosPluginResponse.fromMap(
  1. Map response
)

Build response using map recieved from native platform

Implementation

SquarePosPluginResponse.fromMap(Map<dynamic, dynamic> response)
    : methodName = response['methodName'],
      status = response['status'],
      message = response['message'];